﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="SurveySystem.Web.Register"
    MasterPageFile="~/SurveySystem.Master" %>

<asp:Content ID="headContent" ContentPlaceHolderID="head" runat="server">
- Regisztráció
</asp:Content>
<asp:Content ID="bodyContent" ContentPlaceHolderID="contentPlaceholder" runat="server">
    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" Width="600px" ContinueDestinationPageUrl="~/Default.aspx"
        OnCreatedUser="CreateUserWizard1_CreatedUser" 
    oncreatinguser="CreateUserWizard1_CreatingUser" BackColor="#F7F7DE" 
        BorderColor="#CCCC99" BorderStyle="Solid" BorderWidth="1px" 
        Font-Names="Verdana" Font-Size="10pt">
        <SideBarStyle BackColor="#7C6F57" BorderWidth="0px" Font-Size="0.9em" 
            VerticalAlign="Top" />
        <SideBarButtonStyle BorderWidth="0px" Font-Names="Verdana" 
            ForeColor="#FFFFFF" />
        <ContinueButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
            ForeColor="#284775" />
        <NavigationButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
            ForeColor="#284775" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="#FFFFFF" 
            HorizontalAlign="Center" />
        <CreateUserButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
            ForeColor="#284775" />
        <TitleTextStyle BackColor="#6B696B" Font-Bold="True" ForeColor="#FFFFFF" />
        <StepStyle BorderWidth="0px" />
        <WizardSteps>
            <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
                <ContentTemplate>
                    <table border="0" style="font-size: 100%; width: 100%;">
                        <tr>
                            <td align="center" colspan="2">
                                Sign Up for Your New Account
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style1" style="width: 293px">
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Nick-név:</asp:Label>
                            </td>
                            <td class="style1">
                                <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                    ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Jelszó:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                    ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Jelszó újra:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                    ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required."
                                    ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Email" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                    ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Teljes név:
                            </td>
                            <td>
                                <asp:TextBox ID="tbFullName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Telefonszám:
                            </td>
                            <td>
                                <asp:TextBox ID="tbPhoneNumber" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Kérek emailt új szavazások kiírásakor:
                            </td>
                            <td>
                                <asp:CheckBox ID="chkEmailOnNewSurvey" runat="server" Checked="true" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Kérek sms-t új szavazások kiírásakor:
                            </td>
                            <td>
                                <asp:CheckBox ID="chkSmsOnNewSurvey" runat="server" Checked="false" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Kérek emailt a szavazások eredményeiről:
                            </td>
                            <td>
                                <asp:CheckBox ID="chkEmailOnExpiration" runat="server" Checked="true" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 293px">
                                Kérek sms-t a szavazások eredményeiről:
                            </td>
                            <td>
                                <asp:CheckBox ID="chkSmsOnExpiration" runat="server" Checked="false" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                    ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match."
                                    ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="color: Red;">
                                <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:CreateUserWizardStep>
            <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
                <ContentTemplate>
                    <table border="0" style="font-size: 100%; width: 300px;">
                        <tr>
                            <td align="center" colspan="2">
                                Complete
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Your account has been successfully created.
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="2">
                                <asp:Button ID="ContinueButton" runat="server" CausesValidation="False" CommandName="Continue"
                                    PostBackUrl="~/Default.aspx" Text="Continue" ValidationGroup="CreateUserWizard1" />
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:CompleteWizardStep>
        </WizardSteps>
    </asp:CreateUserWizard>
</asp:Content>
